<div class="box">
  <div class="box-header">
      
    <div class="row">
        <div class="col-sm-4">
            <ob_link><a class="btn" href="{:url('articleAdd',['course_id'=>$param['course_id']])}"><i class="fa fa-plus"></i> 新 增</a></ob_link>
        </div>
        
        <!--<div class="col-sm-8">-->
            <!--<div class="box-tools search-form pull-right">-->
                <!--<div class="input-group input-group-sm">-->
                    <!---->
                    <!--<input type="text" name="search_data" style="width: 200px;" class="form-control pull-right" value="{:input('search_data')}" placeholder="支持标题|描述">-->

                    <!--<div class="input-group-btn">-->
                      <!--<button type="button" id="search"  url="{:url('articlelist')}" class="btn btn-info btn-flat"><i class="fa fa-search"></i></button>-->
                    <!--</div>-->

                <!--</div>-->
           <!--</div>-->
        <!--</div>-->
    <!--</div>-->

  </div>
  <div class="box-body table-responsive">
    <table  class="table table-bordered table-hover">
      <thead>
      <tr>
          <th>
            序号
          </th>
          <th>标题</th>
          <th>类型</th>
          <th>封面</th>
          <th>发布时间</th>
          <th>操作</th>
      </tr>
      </thead>
      
      {notempty name='list'}
        <tbody>
            {volist name='list' id='vo' key='k'}
                <tr>
                  <td>
                   {$k}
                  </td>
                  <td>{$vo.name}</td>
                  <td>{$vo.type_text}</td>
                  <td>
                    <a href="{$vo.cover_id|get_picture_url}" target="_blank"> <img class="admin-list-img-size"  src="{$vo.cover_id|get_picture_url}"/></a>
                  </td>
                  <td>{$vo.create_time|date='Y-m-d H:i:s',###}</td>

                  <td class="col-md-2 text-center">
                      <ob_link><a href="{:url('articleEdit', array('id' => $vo['id']))}" class="btn "><i class="fa fa-edit"></i> 编辑</a></ob_link>
                      <ob_link><a class="btn confirm ajax-get" href="{:url('setStatus', array('ids' => $vo['id'], 'status' => $Think.DATA_DELETE))}"><i class="fa fa-trash-o"></i> 删 除</a></ob_link>
                  </td>
                </tr>
            {/volist}
        </tbody>
        {else/}
        <tbody><tr class="odd"><td colspan="12" class="text-center" valign="top">{:config('empty_list_describe')}</td></tr></tbody>
      {/notempty}
    </table>
      

  </div>
  <div class="box-footer clearfix text-center">
      {$list->render()}
  </div>
</div>